<header id="header">
  <div class="header_l"> <a class="ico_10" href="#"> 返回 </a> </div>
  <h1> 商品名称 </h1>
</header>
 
<section class="goods_slider">
  <div class="blank2"></div>
  <div  class="slideBox">
    <div class="scroller"> 
      <div class="tempWrap" style="overflow:hidden; position:relative;" id="slider">
          <ul>
            <li><a href="#"><img id="firstImg" alt="" src="http://www.51wephone.com/game/eshop/assets/images/spxq.jpg"></a></li>
            <li><a href="#"><img alt="" src="http://www.51wephone.com/game/eshop/assets/images/spxq.jpg"></a></li>
            <li><a href="#"><img alt="" src="http://www.51wephone.com/game/eshop/assets/images/spxq.jpg"></a></li>
          </ul>
      </div>
    </div>
    <div class="icons">
      <ul>
          <!--<li class="on">1</li>-->
          <!--<li>2</li>-->
          <!--<li>3</li>-->
      </ul>
    </div>
  </div>
  <div class="blank2"></div>
</section>

<section class="goodsInfo">
  <div class="title">
    <h1> 【百草味】 坚果零食特产干果 奶油味 </h1>
    <h2> 夏威夷果200g*3包送开果器 </h2>
  </div>

</section>
<ul class="line-indicate">
    <!--<li class="on"></li>-->
    <!--<li></li>-->
    <!--<li></li>-->
</ul>
<section class="goods_con">
        <ul>
         <h3>7天新鲜生产 100%进口可可粉</h3>
        <h4> 已有<em>2064</em>人购买 </h4>
        
      <div class="clear"></div>  

      <div class="clear"></div>  
      </ul>
      
      <div style="background:#ffffff;">
      <div style="margin:0 auto; overflow:hidden; padding: 10px; border-bottom: 1px solid #e5e5e5;">
        <div class="score-no score-5 left" style="float:left"></div><span style="float:left">&nbsp;&nbsp;5星</span>    <h5> 已有60人评价 </h5>
      </div>
      <div style="margin:0 auto; width:100%; overflow:hidden;padding: 5px 10px;border-bottom: 1px solid #e5e5e5;">
        <p>联系方式：0579-88888888</p>
      </div>
      <div style="margin:0 auto; overflow:hidden; padding: 10px;">
        <p>地址：杭州市萧山区新街镇北塘东路420号</p>
      </div>
      </div>
      <ul>
          <div class="clear"></div>
           <div class="c-btn4">商品详细</div>
          <div class="clear"></div>
        <div style="margin:0 auto; width:95%">

    <span>生产许可证编号：</span>330118010720<br>
    <span>产品标准号：</span>    GB/T22165<br>
    <span>厂名：</span>          杭州郝姆斯食品有限公司<br>
    <span>厂址：</span>          杭州市萧山区新街镇北塘东路420号<br>
    <span>厂家联系方式：</span>  4008810118<br>
    <span>配料表：</span>        夏威夷果、食用盐、白砂糖、炼乳、味精、<br>
    <span> </span>              葡萄糖、香辛料<br>
    <span>储藏方法：</span>      置于25℃以下密封保存<br>
    <span>保质期：</span>        300 天<br>
    </div>

        <div class="clear"></div>
            <div class="tp">
                <div class="c-btn4 left">商品图片</div>
                 <div class="clear"></div>
                <img src="http://www.51wephone.com/game/eshop/assets/images/sp01.jpg" width="100%">
                <img src="http://www.51wephone.com/game/eshop/assets/images/sp02.jpg" width="100%">
            </div>
       </ul>
</section>

<div class="dibupiaofu">
 <section class="goodsBuy">
    <a href="/" class="btn cart radius5">培训一次</a>
  </section>
</div>
<div id="flyItem" class="flyItem"></div>
</body>
<script type="text/javascript">
    $(document).ready(function(e) {
        (function($$){
            var bullets=$('.icons');
            var line=$('.line-indicate');
            var pic=$('.tempWrap ul li');
            var len=pic.length;
            var i=0;
            for(i=0;i<len;i++){
                if(i==0){
                    bullets.append('<li class="on"></li>');
                    line.append('<li class="on"></li>');
                }else{
                    bullets.append('<li></li>');
                    line.append('<li></li>');
                }
            };

            var lWidth=Math.floor(parseInt($(window).width() / len ) - 6);
            line.find('li').css({'width': lWidth + 'px'});
            var slider= new $$(document.getElementById('slider'),{
                auto: 3000,
                continuous: true,
                callback: function(pos) {
                    bullets.find('li').eq(pos).addClass('on').siblings().removeClass('on');
                    line.find('li').eq(pos).addClass('on').siblings().removeClass('on');
                }
            });
            bullets.eq(slider.getPos()).addClass('on').siblings().removeClass('on')
            document.getElementById('slider').addEventListener('webkitTransitionEnd',function(){
                bullets.find('li').eq(slider.getPos()).addClass('on').siblings().removeClass('on');
                line.find('li').eq(slider.getPos()).addClass('on').siblings().removeClass('on');
            },false)
        })(Swipe);
    });

</script>
</html>